package com.fulu.springcloud.feignserver.service;

import org.springframework.stereotype.Component;

/**
 * 这个类执行熔断后的逻辑，需实现feign接口
 */
@Component
public class HelloServiceHystrix implements HelloService {
    @Override
    public String sayHi(String name) {
        return name + "你好！，server-hi服务挂了";
    }
}
